<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
      #d1{
        width: 100px;
        height: 100px;
        background-color: red;
        margin: 25px 0 0 25px ;
        overflow: hidden;
      }
      body>div>div{
        width: 50px;
        height: 50px;
        background-color: blue;
        margin :25px 0 0 25px;

      }
      #d2{
        width: 40px;
        height: 35px;
        border: 4px solid green ;
        border-radius: 4px;
        margin-left: 125px;
        padding-left: 60px;
        padding-top:65px ;
      }
    </style>
</head>
<body>
<div id="d1">
  <div>

  </div>
</div>
<div id="d2">哈喽</div>
</body>
</html>